#pragma once

#include <iosfwd>
#include <string>

class Message {
public:
    Message(const std::string &m): message_(m) {}
    friend std::ostream & operator <<(std::ostream &os, Message &msg) {
        return msg.printObject(os);
    }

private:
    std::string message_;
    std::ostream & printObject(std::ostream &os);
};
